package com.stack.auto_parts.service;

import com.stack.auto_parts.common.ApiResult;
import com.stack.auto_parts.entity.User;

import java.util.List;

/**
 * @Title: UserService
 * @Author WUYU_MIN
 * @Package com.stack.auto_parts.service
 * @Date 2024/7/8 18:38
 * @description:
 */
public interface UserService {
    String register(User user);


    String deleteUser(String uuid);


    List<User> selectAll();

    List<User> selectBycondition(String user_name, String phone, String role);

    String updateUser(User user);

    User login(String phone, String password);
}
